package com.google.code.ptrends.entities;

import java.util.Date;

public class PriceRecord {
	private int itemID;
	private float price;
	private Date priceDate;
	private int supplierID;

	public void setItemID(final int itemID) {
		this.itemID = itemID;
	}

	public int getItemID() {
		return itemID;
	}

	public void setPrice(final float price) {
		this.price = price;
	}

	public float getPrice() {
		return price;
	}

	public void setPriceDate(final Date priceDate) {
		this.priceDate = priceDate == null ? null : new Date(
				priceDate.getTime());
	}

	public Date getPriceDate() {
		return priceDate == null ? null : new Date(priceDate.getTime());
	}

	public void setSupplierID(final int supplierID) {
		this.supplierID = supplierID;
	}

	public int getSupplierID() {
		return supplierID;
	}

}
